package com.openlogic.api.logic.service;
import org.noear.nami.annotation.NamiClient;
import org.noear.nami.annotation.NamiMapping;
import org.noear.solon.annotation.Param;
import org.noear.solon.cloud.annotation.CloudBreaker;
import org.noear.solon.core.handle.Result;

import com.openlogic.api.logic.dto.RuleSqlModelDto;
import com.openlogic.common.core.constants.HttpConstant;
import com.openlogic.common.core.constants.ServiceConstant;
import com.openlogic.common.core.web.nami.INamiClientFilter;

import cn.hutool.core.util.StrUtil;

/**
* @ClassName: RemoteRuleModelService
* @Description: 决策引擎参数的feign接口
* @author weiyongpeng
* @date 2024年7月28日 上午11:40:46
 */
@CloudBreaker("remoteRuleModelService")
@NamiClient(name = ServiceConstant.SERVICE_LOGIC, path = ServiceConstant.PATH_TO_LOGIC_RULE)
public interface RemoteRuleModelService extends INamiClientFilter {
	
	/** 
	* 描述：查询规则列表
	* @Title: listRuleModelInner
	* @param param
	* @param enterpriseId
	* @param sourceName
	* @param source
	* @return
	* @author weiyongpeng
	* @date  2024年8月2日 上午8:45:45
	 */
	@NamiMapping(HttpConstant.HTTP_GET + StrUtil.SPACE + "/variable/listSqlParamInner")
	public Result<RuleSqlModelDto> listRuleModelInner(@Param("sqlParamName") String sqlParamName);
}
